home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-06-12 | 1.3 KB | 32 lines |
- # Astrolog (Version 4.10) File: Makefile (Unix version)
- #
- # IMPORTANT NOTICE: the graphics database and chart display routines
- # used in this program are Copyright (C) 1991-1994 by Walter D. Pullen
- # (cruiser1@stein.u.washington.edu). Permission is granted to freely
- # use and distribute these routines provided one doesn't sell,
- # restrict, or profit from them in any way. Modification is allowed
- # provided these notices remain with any altered or edited versions of
- # the program.
- #
- # First created 11/21/1991.
- #
- # This Makefile is included only for convenience. One could easily compile
- # Astrolog on a Unix system by hand with the command:
- # % cc -c -O *.c; cc -o astrolog *.o -lm -lX11
- #
- # Generally, all that needs to be done to compile once astrolog.h has been
- # edited, is compile each source file, and link them together with the math
- # library, and if applicable, the main X library.
- #
- NAME = astrolog
- OBJ = data.o general.o formulas.o charts.o options.o intrpret.o driver.o \
- xdata.o xgeneral.o xcharts.o xoptions.o xdriver.o placalc.o
- # If you don't have X windows, delete the "-lX11" part from the line below:
- LIBS = -lm
- CFLAGS = -arch m68k -arch i386 -arch hppa -arch sparc -O
-
- astrolog:: $(OBJ)
- cc -arch m68k -arch i386 -arch hppa -arch sparc -o $(NAME) $(OBJ) $(LIBS)
- strip $(NAME)
- #
-